From c5ea6958c86726dd7b55b62e8fc7a49649571184 Mon Sep 17 00:00:00 2001 From: Kalita Alexey Date: Tue, 24 Jan 2017 19:40:20 +0300 Subject: [PATCH] Fixed comments [ci skip] --- src/doc/manifest.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index 5a61c741d..b6bbb328e 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -451,8 +451,7 @@ To structure your code after you've created the files and folders for your proje Files located under `examples` are example uses of the functionality provided by the library. When compiled, they are placed in the `target/examples` directory. -They may compile either as executables (with a `main()` function) or as libraries. -They load in the library by using `extern crate `. They are compiled when you run +They can compile either as executables (with a `main()` function) or libraries and pull in the library by using `extern crate `. They are compiled when you run your tests to protect them from bitrotting. You can run individual executable examples with the command `cargo run --example @@ -460,7 +459,7 @@ You can run individual executable examples with the command `cargo run --example Specify `crate-type` to make an example be compiled as a library: ```toml -[[example.example]] +[[example.foo]] crate-type = ["staticlib"] ``` -- 2.30.2